<template>
    <el-main>
        <el-main class="ep-body">
            <epl-top-bar :datas="{formData:form}" showPerson personType="PERSON_ALL_EXACT" psTagType="PERSON_PENSION_QUERY">
                <ep-button size="small" name="打印"></ep-button>
                <ep-button size="small" name="刷新"></ep-button>
            </epl-top-bar>
            <epl-userMessage dataType="person" idCount="3" :panel="panel">
            </epl-userMessage>
            <el-card class="ep-card">
                <ep-title>请输入发放银行信息</ep-title>
                <el-form :model="form" ref="form" :rules="rules">
                    <el-row :gutter="20">
                        <ep-select colspan="8" label="新发放银行" name="aaz065" :property="form.aaz065" placeholder="请选择新发放银行"
                                   p="R" :datas="{formData: form}" codetype="AAZ065" rules="this.$rules.test_noBlank"></ep-select>
                        <ep-input  colspan="8" label="新银行账号" name="aae010" :property="form.aae010" placeholder="请输入新银行账号"
                                   p="R" :datas="{formData: form }" rules="this.$rules.test_noBlank"></ep-input >
                        <ep-input  colspan="8" label="新银行开户名" name="aae009" :property="form.aae009" placeholder="请输入新银行开户名"
                                   p="R" :datas="{formData: form }" rules="this.$rules.test_noBlank"></ep-input >
                    </el-row>
                    <el-row :gutter="20">
                        <epl-search-bank colspan="8" label="新开户行行号" name="aaf002" :property="form.aaf002" placeholder="请选择新开户行行号"
                                         p="R" :datas="{formData: form}" codetype="AAZ065" bankName="aaz065" show rules="this.$rules.test_noBlank"></epl-search-bank>
                        <ep-input  colspan="16" label="新开户银行名称" name="bac049" :property="form.bac049"
                                   p="R,D" :datas="{formData: form }" rules="this.$rules.test_noBlank"></ep-input >
                    </el-row>
                    <el-row :gutter="20">
                        <ep-select colspan="8" label="原发放银行" name="aaz065_old" :property="form.aaz065_old"
                                   p="D" :datas="{formData: form}" codetype="AAZ065" ></ep-select>
                        <ep-input  colspan="8" label="原银行账号" name="aae010_old" :property="form.aae010_old"
                                   p="D" :datas="{formData: form }" ></ep-input >
                        <ep-input  colspan="8" label="原银行开户名" name="aae009_old" :property="form.aae009_old"
                                   p="D" :datas="{formData: form }" ></ep-input >
                    </el-row>
                    <el-row :gutter="20">
                        <ep-input colspan="8" label="原开户行行号" name="aaf002_old" :property="form.aaf002_old"
                                  p="D" :datas="{formData: form}" ></ep-input>
                        <ep-input  colspan="16" label="原开户银行名称" name="bac049_old" :property="form.bac049_old"
                                   p="D" :datas="{formData: form }" ></ep-input >
                    </el-row>
                    <el-row :gutter="20">
                        <ep-date colspan="8" label="变更日期" name="aae035" :property="form.aae035" placeholder="请选择变更日期"
                                 p="R,D" :datas="{formData: form }"  format="yyyy-MM-dd" value-format="yyyyMMdd"></ep-date>
                    </el-row>
                    <el-row>
                        <ep-textarea :rows="3" label="备注" name="aae013" :property="form.aae013" placeholder="请输入备注信息"
                                     p="E" :datas="{formData: form}"></ep-textarea>
                    </el-row>
                    <el-row type="flex" justify="center">
                        <ep-saveButton id="doSave" type="primary" top="20"  bottom="20" ref="save" @formValidate="formValidate" :validate="['form']"
                                       :datas="{formData: form,panel:panel}" name="保存"></ep-saveButton>
                    </el-row>
                </el-form>
            </el-card>
        </el-main>
    </el-main>
</template>

<script src="../js/PayWayChangeJS.js"></script>
